package com.wing.wcabinet.model.request;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.wing.wcabinet.model.entity.WcabCellAllocationDetail;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;

/**
 * 调拨明细Form
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class WcabCellAllocationDetailForm {

    /**
     * ID
     */
    private Long id;

    /**
     * 创建者
     */
    private Long creator;

    /**
     * 修改者
     */
    private Long modifier;

    /**
     * 创建人
     */
    private String creatorName;

    /**
     * 修改人
     */
    private String modifierName;

    /**
     * 调拨id
     */
    private Long allocationId;

    /**
     * 调拨数量
     */
    private Integer quantity;

    /**
     * 调拨重量
     */
    private BigDecimal weight;

    /**
     * 柜子编码
     */
    private String cabCode;

    /**
     * 货道编号
     */
    private String spaceCode;

    /**
     * skuCode
     */
    private String skuCode;

    /**
     * 柜子id
     */
    private Long cabId;

    /**
     * 货道id
     */
    private Long spaceId;

    /**
     * sku id
     */
    private String skuId;

    /**
     * 模板柜子code
     */
    private String cabCodeTarget;

    /**
     * 模板柜子id
     */
    private Long cabIdTarget;

    /**
     * 模板货道code
     */
    private String spaceCodeTarget;

    /**
     * 目标货道id
     */
    private Long spaceIdTarget;

    /**
     * 调拨方式
     */
    private WcabCellAllocationDetail.Type type;


    public interface Add{}

    public interface Update{}

    private String enterpriseCode;
}
